AmeliaBooking\Application\Services\Reservation\AbstractReservationService D

Total Complexity 201
Dependencies 42
Dependents 0
Total lines 1,112
Lines of code 660
Logical lines of code 303
Comment lines 237
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
processBooking()
D
28
45 114
addPayment()
C
35 29 74
finalize()
C
30 25 119
runPostBookingActions()
B
37 21 72
processRequest()
B
39 22 56
getSuccessBookingResponse()
A
40 5 70
getWcStatus()
S
59 7 12
deleteReservation()
S
58 6 17
getResultData()
S
55 5 21
deleteSingleReservation()
S
55 5 20
applyDeposit()
S
65 6 9
getTax()
S
67 4 7
getCouponDiscountAmount()
S
71 3 5
getTaxRate()
S
64 3 10
getTaxAmount()
S
65 3 9
inspectMinimumCancellationTime()
S
62 2 12
deleteUserIfNew()
S
71 2 6
setToken()
S
68 2 7
getProvidersPaymentAmount()
S
82 1 3
__construct()
S
81 1 3
getNew()
S
68 1 7
getPaymentAmount()
S
100 1 0
manageException()
S
69 1 7
manageTaxes()
S
100 1 0